package com.ruoyi.restaurant.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 测试主1对象 test_main
 * 
 * @author ruoyi
 * @date 2022-04-18
 */
public class TestMain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 测试id */
    private Integer firstId;

    /** 测试nums */
    @Excel(name = "测试nums")
    private String firstNums;

    /** 测试子1信息 */
    private List<TestChild> testChildList;

    public void setFirstId(Integer firstId) 
    {
        this.firstId = firstId;
    }

    public Integer getFirstId() 
    {
        return firstId;
    }
    public void setFirstNums(String firstNums) 
    {
        this.firstNums = firstNums;
    }

    public String getFirstNums() 
    {
        return firstNums;
    }

    public List<TestChild> getTestChildList()
    {
        return testChildList;
    }

    public void setTestChildList(List<TestChild> testChildList)
    {
        this.testChildList = testChildList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("firstId", getFirstId())
            .append("firstNums", getFirstNums())
            .append("testChildList", getTestChildList())
            .toString();
    }
}
